_csched_cpu_pick(): simplify sched_smt_power_savings dependent condition
authorJan Beulich <jbeulich@novell.com>
Mon, 14 Mar 2011 17:20:11 +0000 (17:20 +0000)
committerJan Beulich <jbeulich@novell.com>
Mon, 14 Mar 2011 17:20:11 +0000 (17:20 +0000)
commitc5b9d74246c3fb193431b0dad4da61c2effaab35
treea68aa51bfa5db6ea1080554321cc3840e28b42de
parent32084d00161c849be2c812b1d2ef8b2ce0cbd783
_csched_cpu_pick(): simplify sched_smt_power_savings dependent condition

At least to me, using ?: instead of the (a && ...) || (!a && ...)
construct is far easier to grok with a single look.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/common/sched_credit.c